package com.hxtec.polaris.entity;

import java.util.Date;

public class ShopHistory {
    /**
     * 浏览历史表id
     */
    private Integer id;

    /**
     * 用户账号
     */
    private String username;

    /**
     * 商品id
     */
    private String spu;

    /**
     * sku
     */
    private String sku;

    /**
     * 图片地址
     */
    private String img;

    /**
     * 浏览时间
     */
    private Date time;

    /**
     * 备用字段1
     */
    private String comment1;

    /**
     * 备用字段2
     */
    private String comment2;

    /**
     * 备用字段3
     */
    private String comment3;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getSpu() {
        return spu;
    }

    public void setSpu(String spu) {
        this.spu = spu;
    }

    public String getSku() {
        return sku;
    }

    public void setSku(String sku) {
        this.sku = sku;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getComment1() {
        return comment1;
    }

    public void setComment1(String comment1) {
        this.comment1 = comment1;
    }

    public String getComment2() {
        return comment2;
    }

    public void setComment2(String comment2) {
        this.comment2 = comment2;
    }

    public String getComment3() {
        return comment3;
    }

    public void setComment3(String comment3) {
        this.comment3 = comment3;
    }

    @Override
    public String toString() {
        return "ShopHistory{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", spu='" + spu + '\'' +
                ", sku='" + sku + '\'' +
                ", img='" + img + '\'' +
                ", time=" + time +
                ", comment1='" + comment1 + '\'' +
                ", comment2='" + comment2 + '\'' +
                ", comment3='" + comment3 + '\'' +
                '}';
    }
}